/* 页面内容 start */
.page {
  position: relative;
  width: 100%;
  background-color: f1f5fb;
}
.page-bg {
  // height: calc(100vh - 166rpx);
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.bottom-fixed {
  position: fixed;
  bottom: 0;
  height: 166rpx;
  width: 100%;
  // background-color: #fff;
}
.btn {
  width: 590rpx;
  height: 80rpx;
  line-height: 80rpx;
  text-align: center;
  background: linear-gradient(90deg, #4b49e8 0%, #6b8bfb 100%);
  border-radius: 40rpx;
  font-family:
    PingFang SC,
    PingFang SC;
  font-weight: 400;
  font-size: 28rpx;
  color: #ffffff;
  text-align: center;
  font-style: normal;
  text-transform: none;
}
.progress {
  width: 590rpx;
}
.speak-content {
  background: #f3f4f6;
  width: 558rpx;
  height: 80rpx;
  border-radius: 80rpx;
  image {
    width: 40rpx;
    height: 40rpx;
  }
}
.speak-content-active {
  background: #4b49e8;
}
.speak-btn {
  width: 128rpx;
  height: 80rpx;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1998rpx 1998rpx 1998rpx 1998rpx;
  margin-right: 30rpx;
  image {
    width: 47rpx;
    height: 48rpx;
    // border-radius: initial;
  }
}
.info {
  position: fixed;
  left: 0;
  margin: 0 auto;
  bottom: 0;
  // width: 686rpx;
  width: 100%;
  height: 806rpx;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #09085b 70%);
  border-radius: 32rpx 32rpx 0rpx 0rpx;
  padding: 114rpx 46rpx 0 32rpx;
  .icons {
    display: flex;
    width: 172rpx;
    height: 60rpx;
    // background: #e0e0e0;
    border-radius: 30rpx;
    overflow: hidden;
    .icons-list {
      padding: 8rpx;
      image {
        width: 32rpx;
        height: 32rpx;
      }
    }
    .active {
      width: 92rpx;
      height: 60rpx;
      background: #ffffff;
      border-radius: 30rpx;
    }
  }
}
.start-icon {
  width: 182rpx;
  height: 80rpx;
  background-color: rgba(159, 154, 153, 0.3);
  border-radius: 80rpx;
  image {
    width: 90rpx;
    height: 70rpx;
  }
}
.start-btn {
  width: 500rpx;
  height: 80rpx;
  background: linear-gradient(90deg, #4b49e8 0%, #6b8bfb 100%);
  border-radius: 80rpx;
}
.items-list {
  max-width: 738rpx;
  line-height: 1.2;
  // border-radius: 0 24rpx 24rpx 24rpx;
}
.items-list-active {
  border-radius: 24rpx 0 24rpx 24rpx;
}
.items-status {
  width: 118rpx;
}
.info-content {
  max-height: 450rpx;
}
.float-right {
  display: flex;
  justify-content: flex-end;
}

/* 动画 */
.prompt {
  width: 100%;
  height: 80px;
  position: fixed;
  bottom: 100px;
  z-index: 99999;
}

.prompt text {
  position: absolute;
  bottom: 2px;
  color: #f3a73f;
  left: calc(45%);
  animation: puls 1.5s infinite ease-in-out;
}

.dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 45%;
  position: absolute;
  bottom: 0px;
  left: calc(27.5%);
  background-color: #fdedd9;
  border-radius: 20px;
}

.dot {
  height: 16px;
  width: 16px;
  margin-right: 10px;
  border-radius: 10px;
  background-color: #f3a73f;
  animation: pulse 1.5s infinite ease-in-out;
}

.dot:last-child {
  margin-right: 0;
}

.dot:nth-child(1) {
  animation-delay: -0.3s;
}

.dot:nth-child(2) {
  animation-delay: -0.1s;
}

.dot:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    background-color: #f3a73f;
    box-shadow: 0 0 0 0 rgba(243, 167, 63, 0.7);
  }

  50% {
    transform: scale(1.2);
    background-color: #f9d39f;
    box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);
  }

  100% {
    transform: scale(0.8);
    background-color: #f3a73f;
    box-shadow: 0 0 0 0 rgba(243, 167, 63, 0.7);
  }
}

@keyframes puls {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0px);
  }
}
.popup-box {
  .popup-title {
    padding: 48rpx 0;
  }
  .popup-contnet {
    height: 480rpx;
    overflow: scroll;
    .items {
    }
    .items-line {
      width: 536rpx;
      word-wrap: wrap;
      text-align: left;
    }
    .split-line {
      border-bottom: 2rpx dotted #dcdcdc;
    }
  }
  .popup-footer {
  }
  .close-icon {
    width: 48rpx;
    height: 48rpx;
  }
  .play-icon,
  .translate-icon {
    width: 32rpx;
    height: 32rpx;
  }
  .popup-footer {
    margin: 0 auto;
    text-align: center;
    padding-bottom: 45rpx;
    .footer-btn {
      width: 120rpx;
      height: 120rpx;
      background: linear-gradient(90deg, #4b49e8 0%, #6b8bfb 100%);
      border-radius: 50%;
      margin: 0 auto;
      .icon {
        width: 72rpx;
        height: 72rpx;
      }
    }
  }
}

.chat-btn {
  color: #ffffff;
  background-color: #4c49e9;
  width: 496rpx;
  height: 80rpx;
  border-radius: 80rpx;
}

.recording-box {
  width: 100%;
  height: 806rpx;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 99;
  .recording-gif {
    width: 500rpx;
    heigt: 156rpx;
    position: absolute;
    bottom: 180rpx;
    left: 50%;
    margin-left: -250rpx;
    z-index: 9999;
    overflow: scroll;
  }
}
.content-text {
  font-weight: 500;
  font-size: 34rpx;
  color: #ffffff;
  line-height: 40rpx;
  text-align:left;
}
.cn-text {
  font-weight: 500;
  font-size: 24rpx;
  color: #ffffff;
  line-height: 40rpx;
}
.user-text {
  // color: #e0e0e0;
  color: #ff9900;
}
.loading-ai-gif {
  width: 40rpx;
}
.title-dot {
  margin-right: 10rpx;
  font-size: 38rpx;
  font-weight: 500;
}
.head-img {
  border-radius: 50%;
  width: 280rpx;
  height: 280rpx;
  position: absolute;
  top: 82rpx;
  left: -140rpx;
  margin-left: 50%;
}
#audio-canvas {
  position: absolute;
  top: 400rpx;
  width: 100%;
  height: 180rpx;
}
.popup-main {
  background: linear-gradient(180deg, #dee2ff 0%, #ffffff 100%);
}
